wpf set image source in code behind

110

wpf set image source in code behind -

myImage.Source = new BitmapImage(new Uri(@"/Images/foo.png", UriKind.Relative));

Comments

Submit
0 Comments